#ifndef IMAGE_VIEWER_H
#define IMAGE_VIEWER_H

#include <QGraphicsView>
#include <QImage>
#include <QLabel>

class ImageViewer : public QGraphicsView 
{
    Q_OBJECT
    
public:
    ImageViewer( const int width, const int height );

public slots:
    void refresh( const QImage* image );
    
private:
    QLabel* image_label;
};

#endif //MJPEG_CLIENT_H
